package org.coone.veteran.basic.function.lambda;

import java.util.function.BinaryOperator;

/**
 * Lambda表达式 多参数类型创建
 * 
 * @author yangpeng
 */
public class LambdaAddExplicitDemo {

	public static void main(String[] args) {
		BinaryOperator<Long> addExplicit = (Long x, Long y) -> x + y;

		System.out.println(addExplicit.apply(1010l, 1008l).longValue());
	}
}
